package pr.iceworld.fernando.provideruser.model;

import lombok.Data;
import pr.iceworld.fernando.commonbase.model.ModelBase;
import pr.iceworld.fernando.commonbase.model.Status;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "user")
public class User implements ModelBase {
    @Column(name = "id")
    @Id
    private String id;
    private String username;
    private String email;
    private String password;
    private Status status;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;
}
